package cn.maincode.springdate.Pojo.Entity;


import lombok.Data;
import org.springframework.data.jpa.domain.support.AuditingEntityListener;

import javax.persistence.*;


@Data
@Entity
@EntityListeners(AuditingEntityListener.class)
@Table(name = "product")
public class JpaUser {
    @Id
    @Column(name = "id")
    private long id;
    @Column(name = "status")
    private int status;
    @Column(name = "product_name")
    private String product_name;
}
